package com.zzw.system.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzw.model.system.SysUser;
import com.zzw.vo.system.SysUserQueryVo;

import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author zzw
 * @since 2023-04-20
 */
public interface SysUserService extends IService<SysUser> {

    IPage<SysUser> selectPage(Page<SysUser> pageParam, SysUserQueryVo userQueryVo);

    void updateStatus(Long id, Integer status);

    SysUser getByUserName(String username);

    //        根据用户名获取用户（基本信息，菜单权限，按钮权限等）
    Map<String, Object> getUserInfo(String username);
}
